html,
body,
ul,
li,
ol,
dl,
dd,
dt,
p,
h1,
h2,
h3,
h4,
h5,
h6,
form,
fieldset,
legend,
img {
    margin: 0;
    padding: 0;
}

* {
    box-sizing: border-box;
}

fieldset,
img,
input,
button {
    border: none;
    padding: 0;
    margin: 0;
    outline-style: none;
}

ul,
ol {
    list-style: none;
}

input {
    padding-top: 0;
    padding-bottom: 0;
    font-family: "SimSun", "宋体";
}

select,
input {
    vertical-align: middle;
}

select,
input,
textarea {
    font-size: .16rem;
    margin: 0;
}

textarea {
    resize: none;
}

img {
    border: 0;
    vertical-align: middle;
}

table {
    border-collapse: collapse;
}

body {
    font-size: 16px;
    /*unitedCode的写法，宋体的写法 150%基于当前字体尺寸的百分比行间距*/
    font-family: "Microsoft YaHei", "Microsoft JhengHei", "SimHei", Tahoma, Arial, "PingFang SC", "Hiragino Sans GB", "Heiti SC", "WenQuanYi Micro Hei";
    color: #000000;
    background: #fff;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    text-decoration: none;
    font-weight: normal;
    font-size: 100%;
}

s,
i,
em {
    font-style: normal;
    text-decoration: none;
}

.clearfix:before,
.clearfix:after {
    content: "";
    display: table;
}

.clearfix:after {
    clear: both;
    visibility: hidden;
}

.clearfix {
    *zoom: 1;
}

.fl {
    float: left;
}

.fr {
    float: right;
}

.al {
    text-align: left;
}

.ac {
    text-align: center;
}

.ar {
    text-align: right;
}

a {
    color: #000;
    text-decoration: none;
}

a:hover {
    color: #000;
}

.wrap {
    width: 100%;
}

.w {
    width: 75%;
    box-sizing: border-box;
    @media screen and (max-width: 770px) {
        width: 95%;
    }
    margin: 0 auto; // background-color: #fff;
}

.hide {
    display: none;
}

/*
  flex-direction: row | row-reverse | column | column-reverse;
  flex-wrap: nowrap | wrap | wrap-reverse;
  justify-content: flex-start | flex-end | center | space-between | space-around;
  align-items: flex-start | flex-end | center | baseline | stretch; 
  */

@mixin flex($direction, $wrap, $justify-content, $align-items) {
    display: flex;
    display: -webkit-flex;
    flex-direction: $direction;
    flex-wrap: $wrap;
    justify-content: $justify-content;
    align-items: $align-items;
}

@mixin size($width, $height) {
    width: $width;
    height: $height;
}

@mixin ellipsis($num) {
    overflow: hidden;
    text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: $num;
    -webkit-box-orient: vertical;
}

// header
.header {
    .logo {
        width: 80%;
        margin: 0 auto;
        height: 50px;
        img {
            width: 150px;
        }
        p {
            display: inline-block;
            line-height: 50px;
            width: 60%;
            font-weight: bold;
            text-align: left;
            padding-left: 10px;
        }
    }
    @include size(100%, 100px);
    .w {
        height: 50px;
        @include flex(row, nowrap, flex-end, flex-start);
        .nav {
            height: 60px;
            align-self: flex-end;
            margin: 0 50px;
            @include flex(row, nowrap, space-between, center);
            li {
                font-size: 16px;
                a {
                    padding: 15px 10px 16px;
                    margin: 0 10px; // font-weight: bold;
                    &.active,
                        {
                        color: #ff8361;
                        border-bottom: 5px solid #ff8361;
                    }
                }
            }
        }
        .tel {
            width: 30%;
            height: 55px;
            line-height: 55px;
            align-self: flex-end;
            padding-left: 35px;
            color: #ff8361;
            font-weight: bold;
            font-size: 20px;
            background: url("./images/img/tel.png") no-repeat 0 center/30px;
        }
    }
    @media screen and (max-width: 770px) {
        @include flex(row,
        nowrap,
        flex-start,
        center);
        height: 55px;
        .logo {
            width: 15%;
            line-height: 45px;
            img {
                width: 100%;
                margin-left: 20%;
            }
            p {
                display: none;
            }
        }
        .w {
            width: 70%;
            .nav {
                width: 100%;
                margin: 0;
                justify-content: center;
                li {
                    font-size: 10px;
                    a {
                        padding: 0;
                    }
                }
            }
            .tel {
                display: none;
                padding-left: 10px;
                width: 20%;
                font-size: 12px;
            }
        }
    }
}

//banner
#banner {
    position: relative;
    width: 100%;
    .pic {
        position: relative;
        width: 100%;
        ul {
            width: 100%;
            li {
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                img {
                    width: 100%;
                }
            }
        }
    }
    .tab {
        overflow: hidden;
        position: absolute;
        bottom: -20px;
        left: 50%;
        width: 70px;
        height: 14px;
        margin-left: -35px;
        border-radius: 8px;
        ul {
            position: absolute;
            top: 0;
            width: 1000px;
            li {
                float: left;
                width: 8px;
                height: 8px;
                border-radius: 50%;
                background: #9e9e9e;
                margin: 3px;
                cursor: pointer;
                &.on {
                    background: #ff6d40;
                    width: 25px;
                    border-radius: 8px;
                }
            }
        }
    }
}

.yw {
    width: 100%;
    background-color: #f2f2f2;
    padding: 35px 0 20px;
    .w {
        @include flex(row,
        wrap,
        center,
        center);
        .item {
            width: 20%;
            font-size: 12px;
            @include flex(column,
            nowrap,
            center,
            center);
            @media screen and (max-width: 770px) {
                width: 25%;
                font-size: 8px;
            }
            .img {
                height: 60px;
            }
        }
    }
}

#eg {
    padding: 50px 0;
    width: 100%;
    @media screen and (max-width: 770px) {
        padding: 10px 0;
    }
    @at-root p {
        text-align: center;
        &.title {
            font-weight: bold;
            margin-bottom: 10px;
        }
        &.more {
            cursor: pointer;
            font-size: 16px;
            text-align: right;
            span {
                font-size: 30px;
                line-height: 28px;
                font-weight: bold;
                color: #ff6d40;
            }
        }
    }
    .w {
        @at-root .eg-box {
            @include flex(row,
            wrap,
            center,
            flex-start);
            p {
                text-align: left;
                &.tit {
                    font-size: 16px;
                    margin: 5px 0;
                    @media screen and (max-width: 770px) {
                        font-size: 12px;
                    }
                }
                &.txt {
                    font-size: 12px;
                    @media screen and (max-width: 770px) {
                        font-size: 10px;
                    }
                }
            }
            .item {
                width: 23%;
                margin: 0 1%;
                @include flex(column,
                wrap,
                space-between,
                center);
                @media screen and (max-width: 770px) {
                    width: 46%;
                    margin: 0 .5%;
                }
            }
            .lunbo {
                .pic {
                    width: 100%;
                    min-height: 190px;
                    @media screen and (max-width: 1240px){
                        min-height: 120px;
                    }
                    @media screen and (max-width: 770px) {
                       min-height: 105px;
                    }
                    ul {
                        position: relative;
                        width: 100% !important;
                        height: 100%;
                        li {
                            position: absolute !important;
                            top: 0;
                            left: 0;
                            width: 100% !important;
                            height: 100%;
                        }
                    }
                }
            }
        }
    }
}

#game {
    .game-bg {
        background-color: #f2f2f2;
        padding: 20px 0;
    }
    .w {
        .game-box {
            flex-wrap: nowrap;
            justify-content: space-around;
        }
        p.center{
            text-align: center;
            font-size: 20px;
        }
    }
    .item {
        @include flex(row,
        nowrap,
        center,
        center);
        p {
            margin: 0 10px;
            font-size: 14px;
            font-weight: bold;
        }
        @media screen and (max-width: 770px) {
            width: 25%;
            margin: 0 .5%;
            img {
                width: 50%;
            }
            p {
                width: 50%;
                margin: 0;
                font-size: 10px;
            }
        }
    }
    .games {
        display: none;
        .classify {
            margin: 10px;
            text-align: left;
            span {
                background-color: #ff7f40;
                color: #fff;
                padding: 0 5px;
                font-size: 14px;
                ;
            }
        }
        .eg-box {
            flex-wrap: wrap;
            .item {
                flex-direction: column;
                width: 14%;
                margin: 10px 0;
                a {
                    text-align: center;
                }
                @media screen and (max-width: 770px) {
                    width: 20%;
                    margin: 5px 0;
                }
                img {
                    transition: all 0.6s;
                    &:hover {
                        transform: scale(1.1);
                    }
                }
            }
            justify-content: flex-start;
            p {
                font-weight: normal;
                margin: 5px;
                @media screen and (max-width: 770px) {
                    width: 100%;
                    text-align: center;
                }
            }
        }
    }
}

#success {
    .title {
        width: 100%;
        text-align: center;
        margin: 20px 0;
    }
    .box-wrap {
        @include flex(row,
        wrap,
        center,
        center);
        width: 100%;
        .box {
            width: 23%;
            margin: 1%;
            .img {
                width: 100%; // min-height: 
            }
            p {
                font-size: 12px;
                text-align: left;
                margin: 10px 0 10px 10px;
            }
            a.btn {
                display: block;
                font-size: 14px;
                text-align: center;
                line-height: 30px;
                width: 100px;
                height: 30px;
                background-color: #69df98;
                color: #fff;
                border-radius: 5px;
                float: right;
            }
        }
        @media screen and (max-width: 770px) {
            .box {
                width: 48%;
                p {
                    width: 50%;
                    float: left;
                }
                a.btn {
                    width: 40%;
                    height: 20px;
                    line-height: 20px;
                    margin-top: 5px;
                    font-size: 10px;
                }
            }
        }
    }
}

#liucheng {
    padding: 50px 0 0;
    text-align: center;
    img {
        margin: 20px 0 0;
    }
    @media screen and (max-width: 770px) {
        padding-top: 20px;
    }
}

.quality {
    padding: 50px 0;
    @media screen and (max-width: 770px) {
        padding: 10px 0;
        .w {
            width: 100%;
        }
    }
    .quality-bg {
        background: url("./images/image/bg.jpg") no-repeat 0/cover;
        .eg-box {
            color: #fff;
            margin-top: 20px;
            padding: 40px 0;
            .item {
                width: 20%;
                text-align: center;
                margin: 0;
                .icon {
                    width: 100%;
                    border: 1px solid #ddd;
                    height: 150px;
                    line-height: 150px;
                }
                .green {
                    width: 100%;
                    text-align: center;
                    height: 150px;
                    background-color: #6ebb4d;
                    @include flex(column,
                    nowrap,
                    center,
                    center);
                    .line {
                        height: 1px;
                        background-color: #fff;
                        width: 50%;
                        margin: 5px 0;
                    }
                }
                .num {
                    height: 150px;
                    line-height: 150px;
                }
                @media screen and (max-width: 770px) {
                    width: 25%;
                    .icon,
                    .num {
                        height: 50px;
                        line-height: 50px;
                    }
                    .green {
                        height: 100px;
                        font-size: 10px;
                    }
                }
            }
        }
    }
}

#news {
    margin: 50px 0;
    .title {
        text-align: left;
        width: 80%;
        overflow: hidden;
        margin: 0 auto;
        color: #54a0ff;
        font-weight: bold;
        line-height: 28px;
        .fr {
            float: right;
            padding-left: 20px;
            background: url(./images/image/add.png) no-repeat 0/15px;
            span {
                font-weight: normal;
                font-size: 16px;
            }
        }
    }
    @at-root ul.newslist {
        width: 75%;
        margin: 0 auto;
        li {
            padding: 5px 10px;
            border-bottom: 1px dotted #000;
            margin: 5px;
            font-size: 14px;
            background: url("./images/image/circle.png") no-repeat 0 center/5px;
            a {
                display: block;
                width: 100%;
                height: 100%;
                .time {
                    float: right;
                }
            }
        }
    }
    @media screen and (max-width: 770px) {
        .title {
            width: 90%;
            font-size: 14px;
            .fr {
                background: url(./images/image/add.png) no-repeat 0/12px;
                span {
                    font-size: 14px;
                }
            }
        }
        ul {
            width: 90%;
            li {
                font-size: 10px;
            }
        }
    }
}

#about {
    .about_box {
        @include flex(row,
        nowrap,
        center,
        flex-start);
        margin-top: 30px;
        .txt {
            width: 50%;
            margin: 0 30px;
            p {
                text-align: left;
                text-indent: 2em;
            }
        }
        img {
            width: 25%;
        }
        @media screen and (max-width: 770px) {
            font-size: 10px;
            .txt {
                width: 60%;
                margin: 0;
            }
        }
    }
}

#zs {
    .w {
        position: relative;
        min-height: 220px; // height:  275px;
        .box {
            width: 80%;
            height: 100%; // box-sizing: border-box;
            position: absolute;
            overflow: hidden;
            top: 0;
            left: 10%;
            ul {
                width: 1000%;
                height: 100%;
                position: absolute;
                left: 0;
                li {
                    position: absolute;
                    left: 0;
                    width: 150px;
                    margin: 0 10px;
                    img {
                        width: 100%;
                        min-height: 200px;
                    }
                }
            }
        }
        .btn {
            width: 100%;
            height: 80px;
            position: absolute;
            top: 50px;
            left: 0;
            div {
                float: left;
                background: url("./images/image/left.png") no-repeat 0/cover;
                width: 27px;
                height: 68px;
            }
            .right {
                float: right;
                background-image: url("./images/image/right.png");
            }
        }
        @media screen and (max-width: 770px) {
            display: none;
        }
    }
}

#map {
    margin: 50px 0 20px;
    .w {
        @include flex(column,
        nowrap,
        center,
        center);
        .map-img {
            width: 80%;
        }
        iframe {
            width: 80%;
            height: 500px;
        }
        p {
            width: 80%;
            margin: 10px 0;
            text-align: left;
        }
    }
    @media screen and (max-width: 770px) {
        margin: 20px 0;
        .w {
            .map-img,
            iframe {
                width: 100%;
                height: 250px;
            }
            .map-img {
                height: 50px;
            }
            p {
                font-size: 10px;
            }
        }
    }
}

.footer {
    background-color: #2b2b2b;
    padding-bottom: 20px;
    color: #fff;
    .w {
        width: 60%;
        @include flex(row,
        nowrap,
        center,
        flex-start);
        .left {
            width: 30%;
        }
        .right {
            width: 45%;
        }
        .tlt {
            color: #ffde5b;
            margin: 20px 0;
        }
        p {
            text-align: left;
            line-height: 30px;
            font-size: 16px;
        }
        .btn-wrap {
            margin: 20px;
        }
        .btn {
            color: #fff;
            margin-top: 20px;
            padding: 10px 20px;
            background-color: #4eabe6;
        }
    }
    .copy {
        margin: 20px;
    }
    .back {
        text-align: right;
        padding-right: 20px;
    }
    .img {
        margin-left: 10px;
        img {
            margin-top: 40px;
        }
    }
    @media screen and (max-width: 770px) {
        .w {
            width: 100%;
            flex-wrap: wrap;
            .tlt {
                margin: 0
            }
            .left {
                width: 100%;
                text-align: center;
            }
            .right {
                width: 100%;
                text-align: center;
            }
            p {
                margin: 0;
                line-height: 20px;
                font-size: 10px;
                text-align: center;
            }
        }
        .copy,
        .btn {
            font-size: 10px;
        }
        .back {
            img {
                width: 10%;
            }
        }
    }
}

#newspage {
    .w {
        margin: 50px auto;
        display: flex;
        justify-content: space-around;
        .left {
            width: 20%;
            margin-top: 10px;
            p {
                text-align: left;
                padding: 0 10px;
                &.rightP {
                    text-align: right;
                }
                &.title {
                    border-left: 2px solid #58abec;
                    font-weight: bold;
                }
                &.brown {
                    color: #cb9b29;
                    font-weight: bold;
                }
                &.addr {
                    margin: 10px 0;
                }
            }
        }
        .right {
            width: 70%;
            border: 1px solid #666;
            .listname {
                text-align: right;
                margin: 30px 40px;
                a {
                    color: #54a0ff;
                }
            }
            .newslist {
                width: 90%;
                min-height: 600px;
                li {
                    a {
                        font-size: 18px;
                        color: #5a4e71 !important;
                    }
                }
            }
            .nav {
                margin-top: 20px;
                width: 100%;
                text-align: center;
                min-height: 50px;
                position: relative;
                padding-left: 20%;
                .pagination {
                    display: inline; 
                   // width: 100%;
                }
                .pagination>li {
                    display: inline;
                }
                .pagination>li>a {
                    color: black;
                    float: left;
                    padding: 5px 10px;
                    text-decoration: none;
                    background-color: #e5e5e5;
                    margin: 0 2px;
                    &.active {
                        color: #fff;
                        background-color: #ff674e;
                    }
                }
            }
           .nr{
            
               p{
                text-align: left; 
                margin: 10px;
                text-indent: 2em;
               }
           }
           .nrfoot{
               margin: 50px 0;
            .left{
                text-align: left;
                padding-left: 20px;
                a{
                    color: #43a548;
                }
            }
            .rightp{
                text-align: right;
                margin: 20px;
                a{
                    color: #ff674e;
                }
            }
           }
        }
        @media screen and (max-width: 770px) {
            margin:10px 5px;
            justify-content: space-between;
            font-size: 10px;
            .left{
                width: 30%;
                p{
                    padding: 0; 
                }
            }
            .right{
                .listname{
                    margin: 5px;
                } 
                .newslist{
                    li{
                        a{
                            font-size: 10px;
                        }
                    }
                   
                }
                .nav{
                    padding: 0
                }
                .nr{

                }
                .nrfoot{
                    margin:20px 0;
                    p{
                        width: 100%;
                    }
                    .rightp{
                        margin: 0;
                    }
                }
            }
        }
    }
}

.win {
    position: fixed;
    top: 40%;
    left: 45%;
    @include size(300px,
    150px);
    border-radius: 10px;
    background: url("./images/image/win-bg.png") 0/cover;
    padding: 2% 2% 0;
    .btn {
        margin-top: 20px;
        span,
        .now {
            cursor: pointer;
            padding: 5px 10px;
            border-radius: 5px;
            background-color: #fff;
            &.now {
                background-color: #ff7449;
            }
        }
    }
    @media screen and (max-width: 770px) {
        top: 40%;
        left: 22%;
        width: 200px;
        height: 100px;
        font-size: 12px;
    }
}